<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator"
%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"
%><%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"
%><%@ taglib prefix="spring" uri="http://www.springframework.org/tags"
%><%@ taglib prefix="security" uri="http://www.springframework.org/security/tags"
%><%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"
%>
<!-- //Header of the home page -->
<div id="site-nav">
    <p class="login-info" id="login-info">
		<security:authorize ifNotGranted="ROLE_USER">您好，欢迎来淘宝！
		<c:url value="/" var="context"/>
		<a target="_top" href="${context}login/index">请登录</a>
		<a target="_top" href="${context}register/new">免费注册</a>
		</security:authorize>
		<security:authorize ifAllGranted="ROLE_USER">
			您好，${accountContext.username}
			<a href="${pageContext.request.contextPath}/logout">退出</a>
		</security:authorize>
	</p>
    <ul class="quick-menu">
        <li class="home">
			<a target="_top" href="${pageContext.request.contextPath}/">商城首页</a>
		</li>
        <style>#site-nav .services .menu-bd dd a{margin-right:0 !important;}</style>
		<li class="mytaobao menu-item">
			<div class="menu">
				<a rel="nofollow" target="_top" href="${pageContext.request.contextPath}/user/index" class="menu-hd">我的淘宝<b></b></a>
				<div class="menu-bd">
					<div class="menu-bd-panel">
						<div>
							<a rel="nofollow" href="${pageContext.request.contextPath}/domain/order">已买到的宝贝</a>
						</div>
					</div>
				</div>
			</div>
		</li>
		<li class="cart">
			<a rel="nofollow" target="_top" href="${pageContext.request.contextPath}/auction/myCart">
				<s></s>购物车
			</a>
		</li>
		<li class="favorite">
			<a rel="nofollow" target="_top" href="${pageContext.request.contextPath}/domain/faverite">收藏夹</a>
		</li>
	</ul>
</div>

<div class="layout">
	<div class="layout-inner">
        <h1 id="mall-logo">
        	<img width="125" height="45" alt="网上商城" src="${pageContext.request.contextPath}/skins/styles/img/T1HN8UXXFxXXXXXXXX-125-45.png">
		</h1>
	</div>
</div>